Skip to content

Use singular for property names in output metadata#150

Merged
Luthaf merged 2 commits intometatensor:mainfrom
Luthaf:plural-properties
Feb 2, 2026
Merged

Use singular for property names in output metadata#150
Luthaf merged 2 commits intometatensor:mainfrom
Luthaf:plural-properties

Conversation

@Luthaf
Copy link
Member

@Luthaf Luthaf commented Feb 2, 2026

Otherwise we are using a mix of singular/plural here, with no reason.

We are still using a mix of singular (energy) and plural (charges, nc_forces, …) for the output names, but this would be a lot harder to fix in a backward compatible way, so let's think about this and decide what we should do later.

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

@Luthaf Luthaf force-pushed the plural-properties branch from 4fa8195 to 50a1b18 Compare February 2, 2026 13:38
@Luthaf Luthaf requested a review from HaoZeke February 2, 2026 13:39
Copy link
Member

@HaoZeke HaoZeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor typo.

Co-authored-by: Rohit Goswami <r95g10@gmail.com>
@Luthaf Luthaf merged commit c849f70 into metatensor:main Feb 2, 2026
7 checks passed
@Luthaf Luthaf deleted the plural-properties branch February 2, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants